package org.coc.betterchicago.beans;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.ObjectifyService;
import com.googlecode.objectify.util.DAOBase;

public class DAO extends DAOBase {

	static {
		ObjectifyService.register(BetterChicagoUser.class);
	}

	public BetterChicagoUser getBetterChicagoUser(long id) {
		return ofy().find(BetterChicagoUser.class, id);
	}

	public Key<BetterChicagoUser> putBetterChicagoUser(BetterChicagoUser bcu) {
		return ofy().put(bcu);
	}

}
